﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using TracNghiemTinHocDaiCuong.DAO;
using TracNghiemTinHocDaiCuong.ThucThe;

namespace TracNghiemTinHocDaiCuong.BIZ
{
    public class DeThi_CauHoiBIZ
    {
        public static IList<string> DanhSachMaCH(int maDe)
        {
            return DeThi_CauHoiDAO.DanhSachMaCH(maDe);
        }

        public static IList<string> LayKetQua(int maDe)
        {
            return DeThi_CauHoiDAO.LayKetQua(maDe);
        }

        public static DataTable LayDanhSach(int idDe)
        {
            return DeThi_CauHoiDAO.LayDanhSach(idDe);
        }

        public static IList<DeThi_CauHoi> LayDanhSach()
        {
            return DeThi_CauHoiDAO.LayDanhSach();
        }

        public static bool Them(DeThi_CauHoi DeThi_CauHoi)
        {
            return DeThi_CauHoiDAO.Them(DeThi_CauHoi);
        }

        public static bool Sua(DeThi_CauHoi DeThi_CauHoi)
        {
            return DeThi_CauHoiDAO.Sua(DeThi_CauHoi);
        }

        public static bool Xoa(int idDeThi_CauHoi)
        {
            return DeThi_CauHoiDAO.Xoa(idDeThi_CauHoi);
        }
    }
}